{template 'header-company'}

<!--当前位置-->
<div class="location layout960">
	当前位置: <a href="{SITE_URL}">首页</a>&nbsp;»&nbsp; <a href="{url('cooperation/index')}">合作</a>
</div>
<!--当前位置 end-->

<!--主体部分-->
<div class="main layout960">
<!--推荐属性-->
<div class="main-head-blue">
	<h2>合作</h2>
	<a href="{url('member/my')}?mid={$moduleid}&action=add">发布合作信息</a>
</div>
<!--main-body-border start-->
<div class="main-body border">
<h4>所有信息</h4>
<!--cat-property start-->
<div class="cat-property">
	{php $catCatName = '信息分类'}
    <div class="cat-section fn-clear">
        <div class="cat-hd fn-left">信息分类:</div>
        <!--{php $catCatsLevel = 0}-->
        <!--{loop $maincat $k1 $mainL}-->
        <ul class="fn-right">
            <!--{if !$catCatsLevel}-->
            <li {if !$filter['catid']}class="selected"{/if}>
            <a href="{reUrl($filter, 'catid')}" title="不限">不限</a>
            </li>
            <!--{/if}-->
            <!--{php $catCatsLevel++}-->
            <!--{loop $mainL $k2 $v}-->
            <li {if $v[catid]==$filter['catid']|| in_array($v[catid],explode(',', $CAT['arrparentid']))} class='selected'{/if}>
            <a  href="{reUrl($filter,'catid', $v['catid'])}" title="{$v[catname]}">{$v[catname]}</a></li>
            <!--{/loop}-->
        </ul>
        <!--{/loop}-->
    </div>
    {template 'cat_area', 'filter'}
</div>
<!--cat-property end-->
{if $catid}
{template 'sel_cat', 'filter'}
{/if}
{if $showCarfilter}
{template 'sel_car', 'filter'}
{/if}
{if $areaid}
{template 'sel_area', 'filter'}
{/if}
<!--过滤-->
<div class="filter fn-clear">
	<div class="filter-hd fn-clear">
		<h3 class="fn-left">所有信息</h3>
		{php $total = $items}
		{php $pn = $do->getPn()}
		{template 'pager_top', 'inc'}
		<form class="fn-right" id="filter-search" action="?"  >
			<label for="keyword">关键字：</label>
			<input type="hidden" name="catid" value="{$catid}" class="serch-text">
			<input type="hidden" name="areaid" value="{$areaid}" class="serch-text">
			<input type="hidden" name="order" value="{$order}" class="serch-text">
			<input id="keyword" class="search-input" type="text" name="kw" value="{$kw}" />
			<button type="submit">确定</button>
		</form>
	</div>
</div>
<!--过滤 end-->
<!--搜索结果-->
<div class="layout-inner fn-clear">
	<div class="layout-inner-1of2 fn-left">
		<ul class="result-list">
				<!--{if $tags}-->
				<!--{loop $tags $i $t}-->
			<li class="fn-clear">
				<!--{if get_user($t['username'], 'username', 'groupid')>-1}-->
                <img width="100" height="100" src="{Picture::thumb($t['thumb'], 102, 102)}"  alt="{$t['alt']}" />
				<div class="result-desc fn-left">


					<h3><a href="{url(MODULE_NAME.'/show', 'itemid='.$t['itemid'])}" target="_blank" title="{$t[title]}">{$t[title]}</a></h3>


                    <p class="text-ellipsis">{$t[introduce]}</p>
					<p class="address">[{area_pos($t[areaid],'')}]</p>
					{if $t['company']}{$t['company']}{else}{$t['tcompany']}{/if}
					{Im::web($t[username])}
				</div>
			</li>
			<!--{/if}-->
			<!--{/loop}-->
			<!--{else}-->
			<!--{template 'noresult', 'message'}-->
			<!--{/if}-->
		</ul>
		{php $total = $items}
		{php $pn = $do->getPn()}
		{template 'pager', 'inc'}
	</div>
<div class="fn-right">
	<iframe src="{SITE_URL}extend/fragment.php?modules=sell&psize=5"  scrolling="no" frameborder="0" height="468"></iframe>
	<iframe src="{SITE_URL}extend/fragment.php?modules=cooperation&psize=10&city_order={$city_order}"  scrolling="no" frameborder="0" height="303"></iframe>
	<iframe src="{SITE_URL}extend/fragment.php?modules=news&psize=10"  scrolling="no" frameborder="0" height='303'></iframe>
	<iframe src="{SITE_URL}extend/fragment.php?modules=pic&psize=6"  scrolling="no" frameborder="0" height="450"></iframe>
</div>
	<!--2of2 end-->
</div>
<!--搜索结果 end-->
</div>
<!--main-body-border end-->
</div>
<!--主体部分 end-->
{template 'footer'}
